package org.jeecg.modules.charge.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.entity.charge.ChargeDiscount;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 缴费优惠规则
 * @Author: jeecg-boot
 * @Date:   2021-01-06
 * @Version: V1.0
 */
public interface IChargeDiscountService extends IService<ChargeDiscount> {

    List<ChargeDiscount> findPage(Page<ChargeDiscount> page, ChargeDiscount chargeDiscount);

    Integer isBind(String projectId, String feeId);

    ChargeDiscount getDiscount(ChargeDiscount chargeDiscount);
}
